home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / StereoScope / Source / CubeView.h < prev    next >
Text File  |  1994-04-01  |  1KB  |  59 lines

  1.  
  2. /* Generated by Interface Builder */
  3.                 /* TODO: create a buffer as an */
  4.                 /* instance variable and remove the */
  5.                 /* thisline stuff from readData*/
  6. #import <appkit/View.h>
  7. #import <appkit/Bitmap.h>
  8. #import "AzimuthMat.h"
  9.  
  10. typedef enum {
  11.   NEITHER = 0,
  12.   LINES,
  13.   POINTS,
  14.   BOTH
  15.   } pts_or_lines;
  16.  
  17. typedef struct {
  18.   float **all;
  19.   float **displayed;
  20.   int   npts;
  21.   pts_or_lines type;
  22.   float    radius;
  23.   float    shade;
  24. } datapoints;
  25.  
  26. @interface CubeView:View
  27. {
  28.   float cube[3][16], axes[3][54], *path;
  29.   int max_path;
  30.   float boundingBox[4];
  31.   AzimuthMat *vm;
  32.   datapoints **toshow;
  33.   id AngleDisplay;
  34.   id DistanceSlider;
  35.   id PhiSlider;
  36.   id ThetaSlider;
  37.   id openReq;
  38.   BOOL showCube, showAxes, PSonly;
  39.   char ops[3];
  40. }
  41. - initFrame:(const NXRect *) frameRect;
  42. - showError:(char *)errorMessage;
  43. - initialize;
  44. - clear:sender;
  45. - Reset:sender;
  46. - setCube:(int)intValue;
  47. - setAxes:(int)intValue;
  48. - toggleAxes:sender;
  49. - toggleCube:sender;
  50. - reScale:sender;
  51. - setTheta:(float)floatValue;
  52. - setPhi:(float)floatValue;
  53. - setdist:(float)floatValue;
  54. - setlimits:(float *) limits;
  55. - getStruct:(datapoints ***)dptr:(int) max_p:(float **)p;
  56. - drawSelf:(NXRect*)r:(int)c;
  57. - printPSCode:sender;
  58. @end
  59.